package com.cch.cooperation.api.auth.event;

import com.cch.cooperation.dao.auth.model.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 用户登录事件
 *
 * @author cch
 */
@Getter
public class UserLoginEvent extends ApplicationEvent {

    private User user;

    public UserLoginEvent(Object source, User user) {
        super(source);
        this.user = user;
    }

}
